package com.bh.extend.vo;

import com.bh.common.annotation.Dict;
import com.bh.common.annotation.Excel;
import com.bh.common.core.domain.BhtmsBaseEntity;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.Date;

/**
 * 客户管理对象 jc_customer
 *
 * @author slx
 * @date 2023-04-02
 */
@EqualsAndHashCode(callSuper = true)
@ApiModel(value = "客户管理对象VO", description = "客户管理对象VO")
@Data
public class JcCustomerVo extends BhtmsBaseEntity {
    

    /**
     * 合同开始日期
     */
    @JsonFormat(timezone="GMT+8", pattern = "yyyy-MM-dd")
    @Excel(name = "合同开始日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date startTime;

    /**
     * 合同结束日期
     */
    @JsonFormat(timezone="GMT+8", pattern = "yyyy-MM-dd")
    @Excel(name = "合同结束日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date endTime;

    /**
     * 账期
     */
    @Excel(name = "账期")
    private Long paymentDays;

    /**
     * 销售负责人
     */
    @Excel(name = "销售负责人")
    private String salePerson;

    /**
     * 结算方式
     */
    @Excel(name = "结算方式")
    private String settlementType;

    /**
     * 注册公司
     */
    @Dict(dictTable = "jc_registration", dictLabel = "name", dictValue = "id")
    @Excel(name = "注册公司")
    private String jcRegistration;

    /**
     * 组织机构
     */
    @Dict(dictTable = "jc_sys_organization", dictLabel = "name", dictValue = "id")
    @Excel(name = "组织机构")
    private Long jcOrganizationId;

    /**
     * 行政区域 城市
     */
    @Dict(dictTable = "jc_zone", dictLabel = "name", dictValue = "id")
    @Excel(name = "行政区域 城市")
    private Long jcZoneId;
}
